package com.dongrj.framework.core.model;

import java.io.Serializable;
import java.util.Date;

/**
 * @author dongrongjun
 * @date 2020/4/2
 */
public abstract class BaseModel<P> implements Serializable {

    private static final long serialVersionUID = 1L;

    public abstract void setId(P p);

    public abstract P getId();

    public abstract Date getCreateTime();

    public abstract void setCreateTime(Date createTime);

    public abstract Date getUpdateTime();

    public abstract void setUpdateTime(Date updateTime);
}
